package guowei.gulidiscount.discount.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取nacos配置中心信息，根据当前前缀匹配信息
 */
@Component
@ConfigurationProperties("gulidiscount")
@Data
public class GuliDiscountNacosConfig {
    private String msg;
    private Integer count;
}
